package com.guigu.user.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName:AddressDTO
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/11/11:14:27 星期四
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AddressBookDTO对象", description = "地址簿传输对象")
public class AddressBookDTO implements Serializable {


    private static final long serialVersionUID = 5363381641150066798L;
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话号")
    private String phoneNumber;

    @ApiModelProperty(value = "分机号")
    private String extensionNumber;

    @ApiModelProperty(value = "所属省份")
    private String province;

    @ApiModelProperty(value = "所属省份Id")
    private Long provinceId;
    @ApiModelProperty(value = "所属城市")
    private String city;
    @ApiModelProperty(value = "所属城市Id")
    private Long cityId;
    @ApiModelProperty(value = "所属区县")
    private String county;
    @ApiModelProperty(value = "所属区县Id")
    private Long countyId;
    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "是否默认 0:否，1:是")
    private Boolean isDefault;
}
